package com.jasmine.bjstkserver.server.article.log.viewlog;

import com.jasmine.bjstkserver.mapper.ArticleViewLogMapper;
import com.jasmine.bjstkserver.server.article.online.model.ArticleReq;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author jasmineXz
 */
@Service
public class ViewLogServiceImpl implements ViewLogService {
    private static final Logger log = LoggerFactory.getLogger(ViewLogServiceImpl.class);

    @Autowired
    private ArticleViewLogMapper articleViewLogMapper;

    @Override
    public List<ViewLogEntity> findList(ArticleReq article) {
        return null;
    }

    @Override
    public Integer insert(ViewLogEntity viewLog) {
        return articleViewLogMapper.insert(viewLog);
    }
}
